<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
import HImage from "@cloudpivot/form/src/common/components/image.vue"
@Component({name: 'Attachment',components:{HImage}})
export default class Attachment extends Vue {
  @Prop()
  control!:any // 当前控件的控制器
  render(h:Function) {
    return h('h-image', {props:{
      disabled: true,
      text: "点击或拖拽上传"
    }})
  }
}
</script>